package cn.wolfcode.luowowo.article.mapper;
import cn.wolfcode.luowowo.article.domain.Problem;
import cn.wolfcode.luowowo.article.query.ProblemCommendQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;
public interface ProblemMapper {
    void deleteByPrimaryKey(Long id);
    void insert(Problem record);
    Problem selectByPrimaryKey(Long id);
    List<Problem> selectAll();
    void updateByPrimaryKey(Problem record);
    List seleceForList(ProblemCommendQuery qo);

    void updateReplynum(@Param("probId") Long probId, @Param("count") Long count);


}